package com.yinhai.uid.config;

import com.yinhai.uid.controller.UidResource;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author taojie
 * @Date: 2018/12/26 16:50
 * @Description:
 */

@Configuration
public class UidResourceConfiguration {

	@Bean
	public ResourceConfig resourceConfig() {
		ResourceConfig config = new ResourceConfig();
		config.register(UidResource.class);
		return config;
	}
}
